package com.szgz.platform.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.szgz.platform.model.User;

import java.util.List;

/**
 * 用户数据访问层
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    /**
     * 分页查询学生
     */
    IPage<User> pageStudents(Page<User> page,
                             @Param("schoolName") String schoolName,
                             @Param("collegeName") String collegeName,
                             @Param("majorName") String majorName,
                             @Param("className") String className,
                             @Param("grade") String grade,
                             @Param("studentNo") String studentNo,
                             @Param("realName") String realName);
} 